package cn.lyf.aop;

import org.aspectj.lang.annotation.*;

@Aspect
public class LogAspect {
    @Pointcut("execution(public void cn.lyf.App.*(..))")
    void pointCut(){}

    @Before("pointCut()")
    void before(){
        System.out.println("before...");
    }
    //JoinPoint参数一定要在第一位
    //@AfterReturning(value="",returning = "")
    //@AfterThrowing(value="",throwing = "")
    
}
